package com.dc.chat.entity.to.user;

import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
public class SearchUserReq {
    @Pattern(regexp = "\\d{6}",message = "用户名只能是6为整数")
    private String username;
}
